﻿<s:SurfaceWindow xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="http://schemas.microsoft.com/surface/2008" xmlns:local="clr-namespace:OficinaTuristicaFE" xmlns:controls="clr-namespace:OficinaTuristicaFE.Controls" xmlns:Microsoft_Surface_Presentation_Generic="clr-namespace:Microsoft.Surface.Presentation.Generic;assembly=Microsoft.Surface.Presentation.Generic" x:Class="OficinaTuristicaFE.ServiceList"
    Title="OficinaTuristicaFrontEnd"
    >
  <s:SurfaceWindow.Resources>        
        <ControlTemplate x:Key="SurfaceButtonControlTemplate_BackToLanguageSelection" TargetType="{x:Type s:SurfaceButton}">
        	<ControlTemplate.Resources>
        		<Storyboard x:Key="BacKToLanguajeSelectionAnim">
        			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ellipse">
        				<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
        				<SplineDoubleKeyFrame KeyTime="0:0:0.6" Value="0" KeySpline="0,0,0.55,1"/>
        			</DoubleAnimationUsingKeyFrames>
        			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="rectangle">
        				<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
        				<SplineDoubleKeyFrame KeyTime="0:0:1" Value="0.5" KeySpline="0,0,0.33,1"/>
        			</DoubleAnimationUsingKeyFrames>
        		</Storyboard>
        	</ControlTemplate.Resources>
            <Grid>
            	<Rectangle x:Name="rectangle" RenderTransformOrigin="0.5,0.5" Opacity="0.5">
            		<Rectangle.RenderTransform>
            			<TransformGroup>
            				<ScaleTransform/>
            				<SkewTransform/>
            				<RotateTransform/>
            				<TranslateTransform Y="0"/>
            			</TransformGroup>
            		</Rectangle.RenderTransform>
            		<Rectangle.Fill>
            			<ImageBrush ImageSource="Controls/Icons/BackArrow04.png"/>
            		</Rectangle.Fill>
            	</Rectangle>
            	<Ellipse x:Name="ellipse" Margin="-101,-124,-122,-99" Width="140" Height="140" RenderTransformOrigin="0.5,0.5" Opacity="0">
            		<Ellipse.Fill>
            			<RadialGradientBrush>
            				<GradientStop Color="White" Offset="0.767"/>
            				<GradientStop Offset="1"/>
            			</RadialGradientBrush>
            		</Ellipse.Fill>
            		<Ellipse.RenderTransform>
            			<TransformGroup>
            				<ScaleTransform/>
            				<SkewTransform/>
            				<RotateTransform/>
            				<TranslateTransform X="-11" Y="-18"/>
            			</TransformGroup>
            		</Ellipse.RenderTransform>
            	</Ellipse>
            </Grid>
        	<ControlTemplate.Triggers>
        		<EventTrigger RoutedEvent="ButtonBase.Click">
        			<StopStoryboard BeginStoryboardName="BacKToLanguajeSelectionAnim_BeginStoryboard"/>
        			<BeginStoryboard x:Name="BacKToLanguajeSelectionAnim_BeginStoryboard" Storyboard="{StaticResource BacKToLanguajeSelectionAnim}"/>
        		</EventTrigger>
        	</ControlTemplate.Triggers>
        </ControlTemplate>
           <Storyboard x:Key="SendMailAnimation" RepeatBehavior="Forever">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="image">
                <SplineDoubleKeyFrame KeyTime="0" Value="-57"/>
                <SplineDoubleKeyFrame KeyTime="0:0:2" Value="39" KeySpline="0.12,0,0.8,1"/>
            </DoubleAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="MailAnimcionGrid">
            	<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
            	<DiscreteObjectKeyFrame KeyTime="0:0:2" Value="{x:Static Visibility.Visible}"/>
            	<DiscreteObjectKeyFrame KeyTime="0:0:2.1" Value="{x:Static Visibility.Collapsed}"/>
            </ObjectAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Key="CheckAnimatio">
           	<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Cross">
           		<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
           	</ObjectAnimationUsingKeyFrames>
           	<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Check">
           		<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
           		<DiscreteObjectKeyFrame KeyTime="0:0:2" Value="{x:Static Visibility.Visible}"/>
           	</ObjectAnimationUsingKeyFrames>
           	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="Check">
           		<SplineDoubleKeyFrame KeyTime="0" Value="0"/>
           		<SplineDoubleKeyFrame KeyTime="0:0:1" Value="-41"/>
           		<SplineDoubleKeyFrame KeyTime="0:0:2" Value="0"/>
           	</DoubleAnimationUsingKeyFrames>
           	<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="MailSentAnimacioGrid">
           		<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
           		<DiscreteObjectKeyFrame KeyTime="0:0:2" Value="{x:Static Visibility.Visible}"/>
           		<DiscreteObjectKeyFrame KeyTime="0:0:2.1" Value="{x:Static Visibility.Collapsed}"/>
           	</ObjectAnimationUsingKeyFrames>
           </Storyboard>
        <Storyboard x:Key="CrossAnimation">
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Check">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Cross">
                <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:0.5" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:1.5" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="0:0:2" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="Cross">
                <SplineDoubleKeyFrame KeyTime="0" Value="0"/>
                <SplineDoubleKeyFrame KeyTime="0:0:0.2" Value="-50"/>
                <SplineDoubleKeyFrame KeyTime="0:0:0.5" Value="0"/>
                <SplineDoubleKeyFrame KeyTime="0:0:0.7" Value="-50"/>
                <SplineDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
                <SplineDoubleKeyFrame KeyTime="0:0:1.2" Value="-50"/>
                <SplineDoubleKeyFrame KeyTime="0:0:1.5" Value="0"/>
                <SplineDoubleKeyFrame KeyTime="0:0:1.7" Value="-50"/>
                <SplineDoubleKeyFrame KeyTime="0:0:2" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
        	<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="MailSentAnimacioGrid">
        		<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Visible}"/>
        		<DiscreteObjectKeyFrame KeyTime="0:0:2" Value="{x:Static Visibility.Visible}"/>
        		<DiscreteObjectKeyFrame KeyTime="0:0:2.1" Value="{x:Static Visibility.Collapsed}"/>
        	</ObjectAnimationUsingKeyFrames>
        </Storyboard>
  	<Style x:Key="BackToStartButtonStyle" TargetType="{x:Type s:SurfaceButton}">
  		<Setter Property="SnapsToDevicePixels" Value="True"/>
  		<Setter Property="FocusVisualStyle">
  			<Setter.Value>
  				<Style>
  					<Setter Property="Control.Template">
  						<Setter.Value>
  							<ControlTemplate/>
  						</Setter.Value>
  					</Setter>
  				</Style>
  			</Setter.Value>
  		</Setter>
  		<Setter Property="FontFamily" Value="Segoe UI"/>
  		<Setter Property="FontSize" Value="10"/>
  		<Setter Property="Foreground" Value="Black"/>
  		<Setter Property="Background" Value="#33A4B4BD"/>
  		<Setter Property="BorderBrush">
  			<Setter.Value>
  				<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
  					<GradientStop Color="#7FFFFFFF" Offset="0"/>
  					<GradientStop Color="#0CFFFFFF" Offset="1"/>
  				</LinearGradientBrush>
  			</Setter.Value>
  		</Setter>
  		<Setter Property="BorderThickness" Value="1"/>
  		<Setter Property="HorizontalContentAlignment" Value="Center"/>
  		<Setter Property="VerticalContentAlignment" Value="Center"/>
  		<Setter Property="Padding" Value="15,6"/>
  		<Setter Property="IsTabStop" Value="False"/>
  		<Setter Property="Focusable" Value="False"/>
  		<Setter Property="MinWidth" Value="30"/>
  		<Setter Property="MinHeight" Value="30"/>
  		<Setter Property="Template">
  			<Setter.Value>
  				<ControlTemplate TargetType="{x:Type s:SurfaceButton}">
  					<ControlTemplate.Resources>
  						<Storyboard x:Key="Press">
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Glow">
  								<SplineDoubleKeyFrame KeyTime="0:0:0.1" Value="1"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="Glow">
  								<SplineThicknessKeyFrame KeyTime="0:0:0.1" Value="-3"/>
  							</ThicknessAnimationUsingKeyFrames>
  						</Storyboard>
  						<Storyboard x:Key="Release">
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Glow">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
  								<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="0:0:0.5" Value="0"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="Glow">
  								<SplineThicknessKeyFrame KeyTime="0" Value="-3"/>
  								<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="0:0:0.5" Value="1"/>
  							</ThicknessAnimationUsingKeyFrames>
  						</Storyboard>
  					</ControlTemplate.Resources>
  					<Grid x:Name="Grid" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Height="50" RenderTransformOrigin="0.5,0.5" Width="120">
  						<Grid.RenderTransform>
  							<TransformGroup>
  								<ScaleTransform/>
  								<SkewTransform/>
  								<RotateTransform/>
  								<TranslateTransform Y="0"/>
  							</TransformGroup>
  						</Grid.RenderTransform>
  						<Rectangle x:Name="Base" RadiusY="5" RadiusX="5" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" StrokeThickness="1" Stroke="{x:Null}" Width="100" Height="50" RenderTransformOrigin="0.5,0.5">
  							<Rectangle.RenderTransform>
  								<TransformGroup>
  									<ScaleTransform/>
  									<SkewTransform/>
  									<RotateTransform/>
  									<TranslateTransform X="0"/>
  								</TransformGroup>
  							</Rectangle.RenderTransform>
  							
  						</Rectangle>
  						<Rectangle x:Name="RenderOverlay" Margin="2" Opacity="0" RadiusY="4" RadiusX="4" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" StrokeThickness="1" Visibility="Hidden"/>
  						<Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome x:Name="Glow" Color="White" CornerRadius="4" Margin="1" Opacity="0" Visibility="Hidden"/>
  						<ContentPresenter x:Name="Content" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RenderTransformOrigin="0.5,0.5" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Opacity="0" Visibility="Hidden">
  							<ContentPresenter.RenderTransform>
  								<TranslateTransform X="0" Y="-1"/>
  							</ContentPresenter.RenderTransform>
  						</ContentPresenter>
  					</Grid>
  					<ControlTemplate.Triggers>
  						<Trigger Property="IsPressed" Value="True">
  							<Trigger.EnterActions>
  								<BeginStoryboard>
  									<Storyboard>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Glow">
  											<SplineDoubleKeyFrame KeyTime="0:0:0.1" Value="1"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="Glow">
  											<SplineThicknessKeyFrame KeyTime="0:0:0.1" Value="-3"/>
  										</ThicknessAnimationUsingKeyFrames>
  									</Storyboard>
  								</BeginStoryboard>
  							</Trigger.EnterActions>
  							<Trigger.ExitActions>
  								<BeginStoryboard>
  									<Storyboard>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Glow">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
  											<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="0:0:0.5" Value="0"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="Glow">
  											<SplineThicknessKeyFrame KeyTime="0" Value="-3"/>
  											<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="0:0:0.5" Value="1"/>
  										</ThicknessAnimationUsingKeyFrames>
  									</Storyboard>
  								</BeginStoryboard>
  							</Trigger.ExitActions>
  						</Trigger>
  						<Trigger Property="IsEnabled" Value="True"/>
  						<Trigger Property="IsEnabled" Value="False">
  							<Setter Property="Fill" TargetName="RenderOverlay" Value="#0CFFFFFF"/>
  							<Setter Property="Stroke" TargetName="RenderOverlay" Value="#33FFFFFF"/>
  							<Setter Property="Stroke" TargetName="Base" Value="#33000000"/>
  							<Setter Property="Foreground" Value="#A5333333"/>
  							<Setter Property="Background" Value="Transparent"/>
  						</Trigger>
  					</ControlTemplate.Triggers>
  				</ControlTemplate>
  			</Setter.Value>
  		</Setter>
  	</Style>
  	<ControlTemplate x:Key="SurfaceButtonControlTemplate1" TargetType="{x:Type s:SurfaceButton}">
  		<Grid>
  			<Grid.Background>
  				<ImageBrush ImageSource="Controls/Icons/BacktoStar03.png"/>
  			</Grid.Background>
  		</Grid>
  	</ControlTemplate>
  	<ControlTemplate x:Key="SurficeBackToStartStyle" TargetType="{x:Type s:SurfaceButton}">
  		<ControlTemplate.Resources>
  			<Storyboard x:Key="BackToStartClickAnimation">
  				<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="grid">
  					<SplineDoubleKeyFrame KeyTime="0" Value="1" KeySpline="0,0,0.29,1"/>
  					<SplineDoubleKeyFrame KeyTime="0:0:0.2" Value="1"/>
  					<SplineDoubleKeyFrame KeyTime="0:0:0.8" Value="0.7" KeySpline="0.15,0,0.84,0.4"/>
  				</DoubleAnimationUsingKeyFrames>
  				<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Glow">
  					<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
  					<SplineDoubleKeyFrame KeyTime="0:0:0.4" Value="0.39" KeySpline="0,0,0.75,1"/>
  				</DoubleAnimationUsingKeyFrames>
  			</Storyboard>
  		</ControlTemplate.Resources>
  		<Grid x:Name="grid" Opacity="0.7">
  			<Grid.Background>
  				<ImageBrush ImageSource="Controls/Icons/BacktoStar04.png"/>
  			</Grid.Background>
  			<Ellipse x:Name="Glow" Margin="-1.333,-0.167,-17.367,-44.533" Stroke="{x:Null}" RenderTransformOrigin="0.5,0.5" Opacity="0" Width="140" Height="140">
  				<Ellipse.Fill>
  					<RadialGradientBrush>
  						<GradientStop Offset="1"/>
  						<GradientStop Color="White"/>
  						<GradientStop Color="#85FFFFFF" Offset="0.877"/>
  					</RadialGradientBrush>
  				</Ellipse.Fill>
  				<Ellipse.RenderTransform>
  					<TransformGroup>
  						<ScaleTransform/>
  						<SkewTransform/>
  						<RotateTransform/>
  						<TranslateTransform X="-9" Y="-8"/>
  					</TransformGroup>
  				</Ellipse.RenderTransform>
  			</Ellipse>
  		</Grid>
  		<ControlTemplate.Triggers>
  			<EventTrigger RoutedEvent="ButtonBase.Click">
  				<BeginStoryboard Storyboard="{StaticResource BackToStartClickAnimation}"/>
  			</EventTrigger>
  		</ControlTemplate.Triggers>
  	</ControlTemplate>
  	<Style x:Key="StackPanelStyleMail" TargetType="{x:Type StackPanel}"/>
  	<Style x:Key="ScatterViewItemStyle" TargetType="{x:Type s:ScatterViewItem}">
  		<Setter Property="Background">
  			<Setter.Value>
  				<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
  					<GradientStop Color="#FFA4B4BD" Offset="0"/>
  					<GradientStop Color="#FFDFE9EE" Offset="1"/>
  				</LinearGradientBrush>
  			</Setter.Value>
  		</Setter>
  		<Setter Property="BorderBrush" Value="#33000000"/>
  		<Setter Property="Foreground" Value="#FF515151"/>
  		<Setter Property="BorderThickness" Value="1"/>
  		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
  		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
  		<Setter Property="MinWidth" Value="48"/>
  		<Setter Property="MinHeight" Value="48"/>
  		<Setter Property="Template">
  			<Setter.Value>
  				<ControlTemplate TargetType="{x:Type s:ScatterViewItem}">
  					<ControlTemplate.Resources>
  						<Storyboard x:Key="DeactivationTimeline">
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  								<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  							</DoubleAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  								<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  								<SplineThicknessKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="-4"/>
  							</ThicknessAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  								<SplineDoubleKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="0"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  								<SplineColorKeyFrame KeyTime="0:0:0.75" Value="#26000000"/>
  							</ColorAnimationUsingKeyFrames>
  							<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.StartPoint)" Storyboard.TargetName="Sheen">
  								<SplinePointKeyFrame KeySpline="0,0,0,0" KeyTime="0" Value="1.241,0.304"/>
  								<SplinePointKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="-0.636,0.132"/>
  								<SplinePointKeyFrame KeyTime="0:0:0.775" Value="-1.146,-0.035"/>
  							</PointAnimationUsingKeyFrames>
  							<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.EndPoint)" Storyboard.TargetName="Sheen">
  								<SplinePointKeyFrame KeySpline="0,0,0,0" KeyTime="0" Value="1.879,0.551"/>
  								<SplinePointKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="0.018,0.291"/>
  								<SplinePointKeyFrame KeyTime="0:0:0.775" Value="-0.492,0.124"/>
  							</PointAnimationUsingKeyFrames>
  						</Storyboard>
  						<Storyboard x:Key="ActivationTimeline">
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  								<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  							</DoubleAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  								<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  							</DoubleAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  								<SplineDoubleKeyFrame KeyTime="0" Value="0"/>
  								<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="25"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  								<SplineThicknessKeyFrame KeyTime="0" Value="-3"/>
  								<SplineThicknessKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="0"/>
  							</ThicknessAnimationUsingKeyFrames>
  							<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  								<SplineColorKeyFrame KeyTime="0" Value="#26000000"/>
  								<SplineColorKeyFrame KeyTime="0:0:0.45" Value="#14000000"/>
  							</ColorAnimationUsingKeyFrames>
  							<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.StartPoint)" Storyboard.TargetName="Sheen">
  								<SplinePointKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:1.1" Value="1.182,0.441"/>
  							</PointAnimationUsingKeyFrames>
  							<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.EndPoint)" Storyboard.TargetName="Sheen">
  								<SplinePointKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:1.1" Value="1.929,0.949"/>
  							</PointAnimationUsingKeyFrames>
  						</Storyboard>
  					</ControlTemplate.Resources>
  					<Grid x:Name="container" RenderTransformOrigin="{TemplateBinding RenderTransformOrigin}">
  						<Grid.RenderTransform>
  							<ScaleTransform ScaleY="1" ScaleX="1"/>
  						</Grid.RenderTransform>
  						<Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome x:Name="shadow" Color="#33000000" Margin="-4" ShadowVector="{TemplateBinding ShadowVector}"/>
  						<Border x:Name="contentBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}">
  							<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
  						</Border>
  						<Rectangle x:Name="Sheen" Focusable="False" HorizontalAlignment="Stretch" IsHitTestVisible="False" Opacity="0.6" VerticalAlignment="Stretch">
  							<Rectangle.Fill>
  								<LinearGradientBrush EndPoint="-0.234,0.37" StartPoint="-0.981,-0.138">
  									<GradientStop Color="Transparent" Offset="0"/>
  									<GradientStop Color="#33FFFFFF" Offset="0.52"/>
  									<GradientStop Color="Transparent" Offset="1"/>
  								</LinearGradientBrush>
  							</Rectangle.Fill>
  						</Rectangle>
  					</Grid>
  					<ControlTemplate.Triggers>
  						<MultiTrigger>
  							<MultiTrigger.Conditions>
  								<Condition Property="IsActive" Value="True"/>
  								<Condition Property="ShowsActivationEffects" Value="True"/>
  							</MultiTrigger.Conditions>
  							<MultiTrigger.EnterActions>
  								<BeginStoryboard x:Name="ActivationTimeline_BeginStoryboard">
  									<Storyboard>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  											<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  										</DoubleAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  											<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  										</DoubleAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  											<SplineDoubleKeyFrame KeyTime="0" Value="0"/>
  											<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="25"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  											<SplineThicknessKeyFrame KeyTime="0" Value="-3"/>
  											<SplineThicknessKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="0"/>
  										</ThicknessAnimationUsingKeyFrames>
  										<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  											<SplineColorKeyFrame KeyTime="0" Value="#26000000"/>
  											<SplineColorKeyFrame KeyTime="0:0:0.45" Value="#14000000"/>
  										</ColorAnimationUsingKeyFrames>
  										<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.StartPoint)" Storyboard.TargetName="Sheen">
  											<SplinePointKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:1.1" Value="1.182,0.441"/>
  										</PointAnimationUsingKeyFrames>
  										<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.EndPoint)" Storyboard.TargetName="Sheen">
  											<SplinePointKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:1.1" Value="1.929,0.949"/>
  										</PointAnimationUsingKeyFrames>
  									</Storyboard>
  								</BeginStoryboard>
  							</MultiTrigger.EnterActions>
  							<MultiTrigger.ExitActions>
  								<BeginStoryboard x:Name="DeactivationTimeline_BeginStoryboard">
  									<Storyboard>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  											<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  										</DoubleAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  											<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  											<SplineThicknessKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="-4"/>
  										</ThicknessAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  											<SplineDoubleKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="0"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  											<SplineColorKeyFrame KeyTime="0:0:0.75" Value="#26000000"/>
  										</ColorAnimationUsingKeyFrames>
  										<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.StartPoint)" Storyboard.TargetName="Sheen">
  											<SplinePointKeyFrame KeySpline="0,0,0,0" KeyTime="0" Value="1.241,0.304"/>
  											<SplinePointKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="-0.636,0.132"/>
  											<SplinePointKeyFrame KeyTime="0:0:0.775" Value="-1.146,-0.035"/>
  										</PointAnimationUsingKeyFrames>
  										<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.EndPoint)" Storyboard.TargetName="Sheen">
  											<SplinePointKeyFrame KeySpline="0,0,0,0" KeyTime="0" Value="1.879,0.551"/>
  											<SplinePointKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="0.018,0.291"/>
  											<SplinePointKeyFrame KeyTime="0:0:0.775" Value="-0.492,0.124"/>
  										</PointAnimationUsingKeyFrames>
  									</Storyboard>
  								</BeginStoryboard>
  							</MultiTrigger.ExitActions>
  						</MultiTrigger>
  						<Trigger Property="IsEnabled" Value="False">
  							<Setter Property="Background" TargetName="contentBorder">
  								<Setter.Value>
  									<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
  										<GradientStop Color="#4CA4B4BD" Offset="0"/>
  										<GradientStop Color="#4CDFE9EE" Offset="1"/>
  									</LinearGradientBrush>
  								</Setter.Value>
  							</Setter>
  							<Setter Property="Foreground" Value="#A5333333"/>
  							<Setter Property="BorderBrush" Value="#33000000"/>
  						</Trigger>
  					</ControlTemplate.Triggers>
  				</ControlTemplate>
  			</Setter.Value>
  		</Setter>
  	</Style>
  	<Style x:Key="ScatterViewItemStyleTransparent" TargetType="{x:Type s:ScatterViewItem}">
  		<Setter Property="Background">
  			<Setter.Value>
  				<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
  					<GradientStop Color="#FFA4B4BD" Offset="0"/>
  					<GradientStop Color="#FFDFE9EE" Offset="1"/>
  				</LinearGradientBrush>
  			</Setter.Value>
  		</Setter>
  		<Setter Property="BorderBrush" Value="#33000000"/>
  		<Setter Property="Foreground" Value="#FF515151"/>
  		<Setter Property="BorderThickness" Value="1"/>
  		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
  		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
  		<Setter Property="MinWidth" Value="48"/>
  		<Setter Property="MinHeight" Value="48"/>
  		<Setter Property="Template">
  			<Setter.Value>
  				<ControlTemplate TargetType="{x:Type s:ScatterViewItem}">
  					<ControlTemplate.Resources>
  						<Storyboard x:Key="DeactivationTimeline">
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  								<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  							</DoubleAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  								<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  								<SplineThicknessKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="-4"/>
  							</ThicknessAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  								<SplineDoubleKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="0"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  								<SplineColorKeyFrame KeyTime="0:0:0.75" Value="#26000000"/>
  							</ColorAnimationUsingKeyFrames>
  							<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.StartPoint)" Storyboard.TargetName="Sheen">
  								<SplinePointKeyFrame KeySpline="0,0,0,0" KeyTime="0" Value="1.241,0.304"/>
  								<SplinePointKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="-0.636,0.132"/>
  								<SplinePointKeyFrame KeyTime="0:0:0.775" Value="-1.146,-0.035"/>
  							</PointAnimationUsingKeyFrames>
  							<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.EndPoint)" Storyboard.TargetName="Sheen">
  								<SplinePointKeyFrame KeySpline="0,0,0,0" KeyTime="0" Value="1.879,0.551"/>
  								<SplinePointKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="0.018,0.291"/>
  								<SplinePointKeyFrame KeyTime="0:0:0.775" Value="-0.492,0.124"/>
  							</PointAnimationUsingKeyFrames>
  						</Storyboard>
  						<Storyboard x:Key="ActivationTimeline">
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  								<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  							</DoubleAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  								<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  							</DoubleAnimationUsingKeyFrames>
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  								<SplineDoubleKeyFrame KeyTime="0" Value="0"/>
  								<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="25"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  								<SplineThicknessKeyFrame KeyTime="0" Value="-3"/>
  								<SplineThicknessKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="0"/>
  							</ThicknessAnimationUsingKeyFrames>
  							<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  								<SplineColorKeyFrame KeyTime="0" Value="#26000000"/>
  								<SplineColorKeyFrame KeyTime="0:0:0.45" Value="#14000000"/>
  							</ColorAnimationUsingKeyFrames>
  							<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.StartPoint)" Storyboard.TargetName="Sheen">
  								<SplinePointKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:1.1" Value="1.182,0.441"/>
  							</PointAnimationUsingKeyFrames>
  							<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.EndPoint)" Storyboard.TargetName="Sheen">
  								<SplinePointKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:1.1" Value="1.929,0.949"/>
  							</PointAnimationUsingKeyFrames>
  						</Storyboard>
  					</ControlTemplate.Resources>
  					<Grid x:Name="container" RenderTransformOrigin="{TemplateBinding RenderTransformOrigin}">
  						<Grid.RenderTransform>
  							<ScaleTransform ScaleY="1" ScaleX="1"/>
  						</Grid.RenderTransform>
  						<Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome x:Name="shadow" Color="#33000000" Margin="-4" ShadowVector="{TemplateBinding ShadowVector}"/>
  						<Border x:Name="contentBorder" BorderThickness="{TemplateBinding BorderThickness}">
  							<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
  						</Border>
  						<Rectangle x:Name="Sheen" Focusable="False" HorizontalAlignment="Stretch" IsHitTestVisible="False" Opacity="0.6" VerticalAlignment="Stretch">
  							<Rectangle.Fill>
  								<LinearGradientBrush EndPoint="-0.234,0.37" StartPoint="-0.981,-0.138">
  									<GradientStop Color="Transparent" Offset="0"/>
  									<GradientStop Color="#33FFFFFF" Offset="0.52"/>
  									<GradientStop Color="Transparent" Offset="1"/>
  								</LinearGradientBrush>
  							</Rectangle.Fill>
  						</Rectangle>
  					</Grid>
  					<ControlTemplate.Triggers>
  						<MultiTrigger>
  							<MultiTrigger.Conditions>
  								<Condition Property="IsActive" Value="True"/>
  								<Condition Property="ShowsActivationEffects" Value="True"/>
  							</MultiTrigger.Conditions>
  							<MultiTrigger.EnterActions>
  								<BeginStoryboard x:Name="ActivationTimeline_BeginStoryboard">
  									<Storyboard>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  											<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  										</DoubleAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.01"/>
  											<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="1.03"/>
  										</DoubleAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  											<SplineDoubleKeyFrame KeyTime="0" Value="0"/>
  											<SplineDoubleKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="25"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  											<SplineThicknessKeyFrame KeyTime="0" Value="-3"/>
  											<SplineThicknessKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:0.45" Value="0"/>
  										</ThicknessAnimationUsingKeyFrames>
  										<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  											<SplineColorKeyFrame KeyTime="0" Value="#26000000"/>
  											<SplineColorKeyFrame KeyTime="0:0:0.45" Value="#14000000"/>
  										</ColorAnimationUsingKeyFrames>
  										<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.StartPoint)" Storyboard.TargetName="Sheen">
  											<SplinePointKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:1.1" Value="1.182,0.441"/>
  										</PointAnimationUsingKeyFrames>
  										<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.EndPoint)" Storyboard.TargetName="Sheen">
  											<SplinePointKeyFrame KeySpline="0,1,1,1" KeyTime="0:0:1.1" Value="1.929,0.949"/>
  										</PointAnimationUsingKeyFrames>
  									</Storyboard>
  								</BeginStoryboard>
  							</MultiTrigger.EnterActions>
  							<MultiTrigger.ExitActions>
  								<BeginStoryboard x:Name="DeactivationTimeline_BeginStoryboard">
  									<Storyboard>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  											<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  										</DoubleAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="container">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1.03"/>
  											<SplineDoubleKeyFrame KeySpline="0,0,0.148,0.933" KeyTime="0:0:0.75" Value="1.01"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="shadow">
  											<SplineThicknessKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="-4"/>
  										</ThicknessAnimationUsingKeyFrames>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.MaximumShadowOffset)" Storyboard.TargetName="shadow">
  											<SplineDoubleKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="0"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ColorAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome.Color)" Storyboard.TargetName="shadow">
  											<SplineColorKeyFrame KeyTime="0:0:0.75" Value="#26000000"/>
  										</ColorAnimationUsingKeyFrames>
  										<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.StartPoint)" Storyboard.TargetName="Sheen">
  											<SplinePointKeyFrame KeySpline="0,0,0,0" KeyTime="0" Value="1.241,0.304"/>
  											<SplinePointKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="-0.636,0.132"/>
  											<SplinePointKeyFrame KeyTime="0:0:0.775" Value="-1.146,-0.035"/>
  										</PointAnimationUsingKeyFrames>
  										<PointAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.EndPoint)" Storyboard.TargetName="Sheen">
  											<SplinePointKeyFrame KeySpline="0,0,0,0" KeyTime="0" Value="1.879,0.551"/>
  											<SplinePointKeyFrame KeySpline="0,0,0.15,0.93" KeyTime="0:0:0.75" Value="0.018,0.291"/>
  											<SplinePointKeyFrame KeyTime="0:0:0.775" Value="-0.492,0.124"/>
  										</PointAnimationUsingKeyFrames>
  									</Storyboard>
  								</BeginStoryboard>
  							</MultiTrigger.ExitActions>
  						</MultiTrigger>
  						<Trigger Property="IsEnabled" Value="False">
  							<Setter Property="Background" TargetName="contentBorder">
  								<Setter.Value>
  									<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
  										<GradientStop Color="#4CA4B4BD" Offset="0"/>
  										<GradientStop Color="#4CDFE9EE" Offset="1"/>
  									</LinearGradientBrush>
  								</Setter.Value>
  							</Setter>
  							<Setter Property="Foreground" Value="#A5333333"/>
  							<Setter Property="BorderBrush" Value="#33000000"/>
  						</Trigger>
  					</ControlTemplate.Triggers>
  				</ControlTemplate>
  			</Setter.Value>
  		</Setter>
  	</Style>
  	<Style x:Key="transparentButton" TargetType="{x:Type s:SurfaceButton}">
  		<Setter Property="SnapsToDevicePixels" Value="True"/>
  		<Setter Property="FocusVisualStyle">
  			<Setter.Value>
  				<Style>
  					<Setter Property="Control.Template">
  						<Setter.Value>
  							<ControlTemplate/>
  						</Setter.Value>
  					</Setter>
  				</Style>
  			</Setter.Value>
  		</Setter>
  		<Setter Property="FontFamily" Value="Segoe UI"/>
  		<Setter Property="FontSize" Value="10"/>
  		<Setter Property="Foreground" Value="Black"/>
  		<Setter Property="Background" Value="#33A4B4BD"/>
  		<Setter Property="BorderBrush">
  			<Setter.Value>
  				<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
  					<GradientStop Color="#7FFFFFFF" Offset="0"/>
  					<GradientStop Color="#0CFFFFFF" Offset="1"/>
  				</LinearGradientBrush>
  			</Setter.Value>
  		</Setter>
  		<Setter Property="BorderThickness" Value="1"/>
  		<Setter Property="HorizontalContentAlignment" Value="Center"/>
  		<Setter Property="VerticalContentAlignment" Value="Center"/>
  		<Setter Property="Padding" Value="15,6"/>
  		<Setter Property="IsTabStop" Value="False"/>
  		<Setter Property="Focusable" Value="False"/>
  		<Setter Property="MinWidth" Value="30"/>
  		<Setter Property="MinHeight" Value="30"/>
  		<Setter Property="Template">
  			<Setter.Value>
  				<ControlTemplate TargetType="{x:Type s:SurfaceButton}">
  					<ControlTemplate.Resources>
  						<Storyboard x:Key="Press">
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Glow">
  								<SplineDoubleKeyFrame KeyTime="0:0:0.1" Value="1"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="Glow">
  								<SplineThicknessKeyFrame KeyTime="0:0:0.1" Value="-3"/>
  							</ThicknessAnimationUsingKeyFrames>
  						</Storyboard>
  						<Storyboard x:Key="Release">
  							<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Glow">
  								<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
  								<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="0:0:0.5" Value="0"/>
  							</DoubleAnimationUsingKeyFrames>
  							<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="Glow">
  								<SplineThicknessKeyFrame KeyTime="0" Value="-3"/>
  								<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="0:0:0.5" Value="1"/>
  							</ThicknessAnimationUsingKeyFrames>
  						</Storyboard>
  					</ControlTemplate.Resources>
  					<Grid x:Name="Grid" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
  						<Border x:Name="Shadow" BorderThickness="0,0,0,1" CornerRadius="6" Margin="1,1,1,0" Padding="1"/>
  						<Rectangle x:Name="Base" Fill="{TemplateBinding Background}" Margin="1" RadiusY="5" RadiusX="5" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" StrokeThickness="1"/>
  						<Rectangle x:Name="RenderOverlay" Margin="2" Opacity="1" RadiusY="4" RadiusX="4" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" StrokeThickness="1" Fill="{x:Null}"/>
  						<Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome x:Name="Glow" Color="White" CornerRadius="4" Margin="1" Opacity="0"/>
  						<ContentPresenter x:Name="Content" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RenderTransformOrigin="0.5,0.5" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
  							<ContentPresenter.RenderTransform>
  								<TranslateTransform X="0" Y="-1"/>
  							</ContentPresenter.RenderTransform>
  						</ContentPresenter>
  					</Grid>
  					<ControlTemplate.Triggers>
  						<Trigger Property="IsPressed" Value="True">
  							<Trigger.EnterActions>
  								<BeginStoryboard>
  									<Storyboard>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Glow">
  											<SplineDoubleKeyFrame KeyTime="0:0:0.1" Value="1"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="Glow">
  											<SplineThicknessKeyFrame KeyTime="0:0:0.1" Value="-3"/>
  										</ThicknessAnimationUsingKeyFrames>
  									</Storyboard>
  								</BeginStoryboard>
  							</Trigger.EnterActions>
  							<Trigger.ExitActions>
  								<BeginStoryboard>
  									<Storyboard>
  										<DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Glow">
  											<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
  											<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="0:0:0.5" Value="0"/>
  										</DoubleAnimationUsingKeyFrames>
  										<ThicknessAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="Glow">
  											<SplineThicknessKeyFrame KeyTime="0" Value="-3"/>
  											<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="0:0:0.5" Value="1"/>
  										</ThicknessAnimationUsingKeyFrames>
  									</Storyboard>
  								</BeginStoryboard>
  							</Trigger.ExitActions>
  						</Trigger>
  						<Trigger Property="IsEnabled" Value="True"/>
  						<Trigger Property="IsEnabled" Value="False">
  							<Setter Property="Fill" TargetName="RenderOverlay" Value="#0CFFFFFF"/>
  							<Setter Property="Stroke" TargetName="RenderOverlay" Value="#33FFFFFF"/>
  							<Setter Property="Stroke" TargetName="Base" Value="#33000000"/>
  							<Setter Property="BorderBrush" TargetName="Shadow" Value="#00000000"/>
  							<Setter Property="Foreground" Value="#A5333333"/>
  							<Setter Property="Background" Value="Transparent"/>
  						</Trigger>
  					</ControlTemplate.Triggers>
  				</ControlTemplate>
  			</Setter.Value>
  		</Setter>
  	</Style>
    </s:SurfaceWindow.Resources>
	<s:SurfaceWindow.Background>
		<ImageBrush ImageSource="pack://siteoforigin:,,,/Controls/Icons/VistaAerea02.png"/>
	</s:SurfaceWindow.Background>

    <Grid x:Name="MainGrid" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <s:SurfaceButton x:Name="BackToTypeOfServiceSelection" VerticalAlignment="Top" Height="60" Click="BackToLanguageSelection_Click" Template="{DynamicResource SurfaceButtonControlTemplate_BackToLanguageSelection}" SnapsToDevicePixels="True" Width="120" Background="#33364249" RenderTransformOrigin="0.5,0.5" />
        <s:ScatterView x:Name="MainScatterView">
            <!--<s:ScatterViewItem ContactTapGesture="ScatterViewItem_ContactTapGesture" Center="387,296" Orientation="10" Width="100" Height="100">
                <Viewbox>
                    <Image Source="Resources/AppThumbnail.png"/>
                </Viewbox>
            </s:ScatterViewItem>-->
            <s:ScatterViewItem x:Name="ScatterEnterMail" Orientation="0" Center="600,600" Width="195" Height="113" Style="{DynamicResource ScatterViewItemStyleTransparent}" Visibility="Hidden">
                <Viewbox Width="194" Height="111">
                    <StackPanel Background="{StaticResource TelephoneStyleBackground}" Width="254" Height="147" Style="{DynamicResource StackPanelStyleMail}">
                        <s:SurfaceButton x:Name="CloseEnterMailAddress" Content="Exit" Click="CloseEnterMailAddress_Click" Style="{DynamicResource transparentButton}" Margin="0,0,166,0" Width="20" Height="20" RenderTransformOrigin="0.5,0.5" Background="{StaticResource CloseIconStyle}">
                            <s:SurfaceButton.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform ScaleX="0.8" ScaleY="0.8"/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform X="197"/>
                                </TransformGroup>
                            </s:SurfaceButton.RenderTransform>
                        </s:SurfaceButton>
                        <s:SurfaceTextBox  x:Name="enterMailAddress" Focusable="True" FocusManager.IsFocusScope="True" TextWrapping="NoWrap" MaxLength="32" Width="185" FontSize="18.667" BorderThickness="1" RenderTransformOrigin="0.5,0.5">
                            <s:SurfaceTextBox.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform X="-10"/>
                                </TransformGroup>
                            </s:SurfaceTextBox.RenderTransform>
                        </s:SurfaceTextBox>
                        <s:SurfaceButton Content="Enviar" x:Name="MailSendButton" Click="MailSendButton_Click" RenderTransformOrigin="0.5,0.5" Margin="0,0,167,-34" Style="{DynamicResource transparentButton}" Foreground="{x:Null}" Background="{StaticResource MailIcon}" >
                            <s:SurfaceButton.Effect>
                                <DropShadowEffect BlurRadius="17"/>
                            </s:SurfaceButton.Effect>
                            <s:SurfaceButton.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <SkewTransform/>
                                    <RotateTransform/>
                                    <TranslateTransform Y="37" X="77"/>
                                </TransformGroup>
                            </s:SurfaceButton.RenderTransform>
                        </s:SurfaceButton>
                    </StackPanel>
                </Viewbox>
            </s:ScatterViewItem>
        </s:ScatterView>
        <Grid x:Name="MailAnimcionGrid" Margin="308,208,160,25" Width="300" Height="200" Visibility="Hidden">
            <Rectangle x:Name="MailIconRect" Fill="{StaticResource MailIcon}" HorizontalAlignment="Left" Height="64" Margin="25,30,0,0" VerticalAlignment="Top" Width="98"/>
            <Image x:Name="image" Margin="48.4,0,0,0" Source="MainAnimationItems/Gizmo.png" Stretch="Fill" HorizontalAlignment="Left" Height="100" VerticalAlignment="Top" Width="100" RenderTransformOrigin="0.5,0.5">
                <Image.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="0.3" ScaleY="0.3"/>
                        <SkewTransform/>
                        <RotateTransform/>
                        <TranslateTransform X="-57" Y="28"/>
                    </TransformGroup>
                </Image.RenderTransform>
            </Image>
        </Grid>
        <Grid x:Name="MailSentAnimacioGrid" Height="161" Margin="326,0,186,57" VerticalAlignment="Bottom" Visibility="Hidden">
        	<Rectangle x:Name="Envelope" Fill="{StaticResource MailIcon}" Margin="32,49.5,54,42.5" RadiusY="4" RadiusX="4" StrokeThickness="1" Width="105" Height="70"/>
        	<Rectangle x:Name="Check" Margin="46,56.833,61.333,49.833" RadiusY="4" RadiusX="4" StrokeThickness="1" RenderTransformOrigin="0.5,0.5" Fill="{StaticResource Check}" Width="45" Height="45">
        		<Rectangle.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform/>
        				<SkewTransform/>
        				<RotateTransform/>
        				<TranslateTransform/>
        			</TransformGroup>
        		</Rectangle.RenderTransform>
        	</Rectangle>
        	<Rectangle x:Name="Cross" Margin="46,56.833,61.333,49.833" RadiusY="4" RadiusX="4" StrokeThickness="1" Width="44" Fill="{DynamicResource Cross}" RenderTransformOrigin="0.5,0.5" Height="44">
        		<Rectangle.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform/>
        				<SkewTransform/>
        				<RotateTransform/>
        				<TranslateTransform/>
        			</TransformGroup>
        		</Rectangle.RenderTransform>
        	</Rectangle>
        </Grid>
        <Grid x:Name="BackToStarGrid" Height="60" Margin="0" VerticalAlignment="Bottom" Width="120">
        	<s:SurfaceButton x:Name="Reorganize" Content="Prova" Click="Reorganize_Click" Style="{DynamicResource BackToStartButtonStyle}" Margin="0,-6.5,0,6.5" RenderTransformOrigin="0.5,0.5" Template="{DynamicResource SurficeBackToStartStyle}" BorderBrush="{x:Null}" Foreground="{x:Null}">
        		<s:SurfaceButton.RenderTransform>
        			<TransformGroup>
        				<ScaleTransform/>
        				<SkewTransform/>
        				<RotateTransform/>
        				<TranslateTransform Y="7"/>
        			</TransformGroup>
        		</s:SurfaceButton.RenderTransform>
        	</s:SurfaceButton>
        </Grid>
    </Grid>

</s:SurfaceWindow>
